
pub fn show_version() {
    let version = "v1.0";
    println!("{}", &version);
}

pub fn guess_str(guess: &str) {
    let flags = ["rust", "longer", "23@x(30#%2$=_+/><?"];
    for wd in flags.iter() {
        if wd == &guess {
            panic!()
        }
    }
    println!("Failed to find flag. input: {}", guess);
}

#[cfg(test)]
mod tests {
    #[test]
    fn it_works() {
        use crate::guess_str;
        guess_str("rust");
    }
}